<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小型文学读书会 - 活动详情</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #4263eb;
            --secondary: #36b37e;
            --light-gray: #f8f9fa;
            --dark-gray: #343a40;
            --text-gray: #6c757d;
        }
        
        body {
            background-color: #f5f7fa;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }
        
        .event-gallery {
            display: grid;
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 4px;
            height: 400px;
            margin-bottom: 1rem;
        }
        
        .event-gallery img:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
        
        .event-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }
        
        .event-gallery.single-image {
            display: block;
            height: 400px;
        }
        
        .event-gallery.no-image {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 300px;
            background-color: var(--light-gray);
        }
        
        .event-header {
            margin-bottom: 1.5rem;
        }
        
        .event-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .event-meta {
            color: var(--text-gray);
            font-size: 0.9rem;
        }
        
        .event-author {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 1rem;
        }
        
        .author-info h5 {
            margin-bottom: 0;
        }
        
        .author-role {
            font-size: 0.8rem;
            color: var(--text-gray);
        }
        
        .event-actions {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: #3355d0;
            border-color: #3355d0;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--text-gray);
            color: var(--dark-gray);
        }
        
        .btn-outline:hover {
            background-color: var(--light-gray);
        }
        
        .event-details {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        
        .detail-section {
            margin-bottom: 1.5rem;
        }
        
        .detail-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark-gray);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .detail-content {
            color: #495057;
        }
        
        .detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: normal;
        }
        
        .badge-primary {
            background-color: rgba(66, 99, 235, 0.1);
            color: var(--primary);
        }
        
        .attendee-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .attendee-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid white;
        }
        
        .attendee-more {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            border: 2px solid white;
        }
        
        .tab-content {
            background-color: white;
            border-radius: 0 0 8px 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .nav-tabs {
            border-bottom: 1px solid #dee2e6;
            margin-bottom: 0;
        }
        
        .nav-tabs .nav-item .nav-link {
            color: var(--text-gray);
            border: none;
            border-bottom: 3px solid transparent;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
        }
        
        .nav-tabs .nav-item .nav-link.active {
            color: var(--primary);
            border-bottom: 3px solid var(--primary);
            background-color: transparent;
        }
        
        .comment-form {
            margin-bottom: 2rem;
        }
        
        .comment-input {
            display: flex;
            gap: 1rem;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }
        
        .comment-textarea {
            flex-grow: 1;
        }
        
        .comment-textarea textarea {
            width: 100%;
            border: 1px solid #ced4da;
            border-radius: 8px;
            padding: 0.75rem;
            resize: none;
            min-height: 100px;
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.75rem;
        }
        
        .comment-list {
            margin-bottom: 2rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-content {
            flex-grow: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
        }
        
        .comment-time {
            font-size: 0.8rem;
            color: var(--text-gray);
        }
        
        .comment-text {
            margin-bottom: 0.75rem;
        }
        
        .comment-footer {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
        }
        
        .comment-action {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: var(--text-gray);
            cursor: pointer;
            transition: color 0.2s ease;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: #e74c3c;
        }
        
        .reply-list {
            margin-left: 3rem;
            margin-top: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }
        
        .reply-item:last-child {
            border-bottom: none;
        }
        
        .reply-form {
            margin-left: 3rem;
            margin-top: 1rem;
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .reply-textarea textarea {
            width: 100%;
            border: 1px solid #ced4da;
            border-radius: 6px;
            padding: 0.5rem;
            resize: none;
            min-height: 80px;
            font-size: 0.9rem;
        }
        
        .similar-events {
            margin-top: 3rem;
        }
        
        .similar-event-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 1rem;
        }
        
        .similar-event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        @media (max-width: 768px) {
            .event-gallery {
                height: 300px;
            }
            
            .event-actions {
                flex-direction: column;
            }
            
            .action-btn {
                width: 100%;
                justify-content: center;
            }
            
            .detail-meta {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .reply-list, .reply-form {
                margin-left: 1.5rem;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 活动图片展示 -->
        <div class="event-gallery mb-4">
            <img src="https://picsum.photos/800/600?random=1" alt="读书会现场照片">
            <img src="https://picsum.photos/400/300?random=2" alt="书籍展示">
            <img src="https://picsum.photos/400/300?random=3" alt="交流讨论">
        </div>
        
        <!-- 活动标题和基本信息 -->
        <div class="event-header">
            <h1 class="event-title">小型文学读书会：当代小说鉴赏与讨论</h1>
            <div class="event-meta mb-3">
                <span class="me-3"><i class="far fa-calendar-alt me-1"></i> 2023年6月10日 周六 15:00-17:30</span>
                <span><i class="fas fa-map-marker-alt me-1"></i> 城市图书馆三楼会议室</span>
            </div>
            
            <!-- 活动组织者 -->
            <div class="event-author">
                <img src="https://picsum.photos/100/100?random=101" alt="读书会组织者头像" class="author-avatar">
                <div class="author-info">
                    <h5>读书会组织者</h5>
                    <div class="author-role">文学爱好者 · 发起过24场活动</div>
                </div>
                <button class="ms-auto btn btn-sm btn-outline-primary">
                    <i class="fas fa-plus me-1"></i> 关注
                </button>
            </div>
            
            <!-- 活动操作按钮 -->
            <div class="event-actions">
                <button class="action-btn btn-primary">
                    <i class="fas fa-ticket-alt me-1"></i> 立即报名
                </button>
                <button class="action-btn btn-outline like-btn">
                    <i class="far fa-heart me-1"></i> 点赞 (128)
                </button>
                <button class="action-btn btn-outline save-btn">
                    <i class="far fa-bookmark me-1"></i> 收藏
                </button>
                <button class="action-btn btn-outline share-btn">
                    <i class="fas fa-share-alt me-1"></i> 分享
                </button>
            </div>
        </div>
        
        <div class="row">
            <!-- 主要内容区 -->
            <div class="col-lg-8">
                <!-- 活动详情 -->
                <div class="event-details">
                    <div class="detail-section">
                        <h3 class="detail-title">
                            <i class="fas fa-info-circle text-primary"></i> 活动介绍
                        </h3>
                        <div class="detail-content">
                            <p>本次读书会将聚焦当代文学作品，我们将一起讨论近五年出版的优秀小说。无论你是资深文学爱好者，还是刚刚开始接触文学的新手，都欢迎加入我们的讨论。</p>
                            <p>活动流程：</p>
                            <ul>
                                <li>15:00-15:10 自我介绍与活动介绍</li>
                                <li>15:10-16:30 主题讨论：当代小说中的城市意象</li>
                                <li>16:30-17:15 自由交流与推荐</li>
                                <li>17:15-17:30 下次活动预告与合影</li>
                            </ul>
                            <p>建议提前阅读：《繁花》金宇澄 或 《应物兄》李洱（选读其中一本即可）</p>
                        </div>
                    </div>
                    
                    <div class="detail-section">
                        <h3 class="detail-title">
                            <i class="fas fa-list-alt text-primary"></i> 活动详情
                        </h3>
                        <div class="detail-meta">
                            <div class="meta-item">
                                <i class="fas fa-ticket-alt text-primary"></i>
                                <span>免费参与</span>
                            </div>
                            <div class="meta-item">
                                <i class="fas fa-user-friends text-primary"></i>
                                <span>限15人参与</span>
                            </div>
                            <div class="meta-item">
                                <i class="fas fa-tag text-primary"></i>
                                <span class="badge badge-primary">文学</span>
                                <span class="badge badge-primary">阅读</span>
                                <span class="badge badge-primary">交流</span>
                            </div>
                        </div>
                        <div class="detail-content">
                            <p><strong>活动地点：</strong>城市图书馆三楼会议室（地铁2号线文化广场站B出口步行5分钟）</p>
                            <p><strong>注意事项：</strong></p>
                            <ul>
                                <li>请提前10分钟到达现场签到</li>
                                <li>可携带自己喜欢的书籍与大家分享</li>
                                <li>现场将提供茶水，建议自带水杯</li>
                                <li>保持安静，尊重他人观点</li>
                            </ul>
                        </div>
                    </div>
                    
                    <div class="detail-section">
                        <h3 class="detail-title">
                            <i class="fas fa-map-marker-alt text-primary"></i> 活动地点
                        </h3>
                        <div class="detail-content">
                            <!-- 这里可以嵌入地图 -->
                            <div style="height: 200px; background-color: var(--light-gray); border-radius: 4px; display: flex; align-items: center; justify-content: center;">
                                <i class="fas fa-map text-4xl text-muted"></i>
                            </div>
                            <p class="mt-2">城市图书馆三楼会议室</p>
                            <p>地址：文化大道123号（地铁2号线文化广场站B出口步行5分钟）</p>
                        </div>
                    </div>
                    
                    <div class="detail-section">
                        <h3 class="detail-title">
                            <i class="fas fa-user-check text-primary"></i> 已报名参与者
                        </h3>
                        <div class="detail-content">
                            <div class="attendee-list">
                                <img src="https://picsum.photos/100/100?random=201" alt="参与者头像" class="attendee-avatar">
                                <img src="https://picsum.photos/100/100?random=202" alt="参与者头像" class="attendee-avatar">
                                <img src="https://picsum.photos/100/100?random=203" alt="参与者头像" class="attendee-avatar">
                                <img src="https://picsum.photos/100/100?random=204" alt="参与者头像" class="attendee-avatar">
                                <img src="https://picsum.photos/100/100?random=205" alt="参与者头像" class="attendee-avatar">
                                <div class="attendee-more">+8</div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 标签页：留言、照片、相关活动 -->
                <ul class="nav nav-tabs" id="eventTabs" role="tablist">
                    <li class="nav-item" role="presentation">
                        <button class="nav-link active" id="comments-tab" data-bs-toggle="tab" data-bs-target="#comments" type="button" role="tab" aria-controls="comments" aria-selected="true">
                            留言 (24)
                        </button>
                    </li>
                    <li class="nav-item" role="presentation">
                        <button class="nav-link" id="photos-tab" data-bs-toggle="tab" data-bs-target="#photos" type="button" role="tab" aria-controls="photos" aria-selected="false">
                            活动照片 (8)
                        </button>
                    </li>
                    <li class="nav-item" role="presentation">
                        <button class="nav-link" id="related-tab" data-bs-toggle="tab" data-bs-target="#related" type="button" role="tab" aria-controls="related" aria-selected="false">
                            相关活动
                        </button>
                    </li>
                </ul>
                
                <div class="tab-content" id="eventTabsContent">
                    <!-- 留言板 -->
                    <div class="tab-pane fade show active" id="comments" role="tabpanel" aria-labelledby="comments-tab">
                        <!-- 留言输入框 -->
                        <div class="comment-form">
                            <div class="comment-input">
                                <img src="https://picsum.photos/100/100?random=301" alt="当前用户头像" class="user-avatar">
                                <div class="comment-textarea">
                                    <textarea placeholder="分享你的想法..."></textarea>
                                    <div class="comment-actions">
                                        <button class="btn btn-sm btn-outline-secondary me-2">
                                            <i class="fas fa-image"></i>
                                        </button>
                                        <button class="btn btn-sm btn-primary">
                                            发表留言
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言列表 -->
                        <div class="comment-list">
                            <!-- 留言1 -->
                            <div class="comment-item">
                                <img src="https://picsum.photos/100/100?random=401" alt="用户头像" class="user-avatar">
                                <div class="comment-content">
                                    <div class="comment-header">
                                        <span class="comment-author">文学爱好者小A</span>
                                        <span class="comment-time">3天前</span>
                                    </div>
                                    <div class="comment-text">
                                        非常期待这次读书会！《繁花》这本书我已经读了两遍，里面对上海的描写太生动了，很想和大家交流一下看法。
                                    </div>
                                    <div class="comment-footer">
                                        <div class="comment-action like-comment">
                                            <i class="far fa-heart"></i> 24
                                        </div>
                                        <div class="comment-action reply-btn">
                                            <i class="far fa-comment"></i> 回复
                                        </div>
                                    </div>
                                    
                                    <!-- 回复列表 -->
                                    <div class="reply-list">
                                        <div class="reply-item">
                                            <img src="https://picsum.photos/100/100?random=101" alt="用户头像" class="user-avatar" style="width: 32px; height: 32px;">
                                            <div class="comment-content">
                                                <div class="comment-header">
                                                    <span class="comment-author">读书会组织者</span>
                                                    <span class="comment-time">2天前</span>
                                                </div>
                                                <div class="comment-text">
                                                    很高兴你也喜欢《繁花》！我会特意安排时间讨论这本书的城市描写部分。
                                                </div>
                                                <div class="comment-footer">
                                                    <div class="comment-action like-comment">
                                                        <i class="far fa-heart"></i> 8
                                                    </div>
                                                    <div class="comment-action reply-btn">
                                                        <i class="far fa-comment"></i> 回复
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 回复输入框 (默认隐藏) -->
                                    <div class="reply-form" style="display: none;">
                                        <img src="https://picsum.photos/100/100?random=301" alt="当前用户头像" class="user-avatar" style="width: 32px; height: 32px;">
                                        <div class="reply-textarea">
                                            <textarea placeholder="回复 @文学爱好者小A..."></textarea>
                                            <div class="comment-actions">
                                                <button class="btn btn-sm btn-outline-secondary me-2 cancel-reply">
                                                    取消
                                                </button>
                                                <button class="btn btn-sm btn-primary">
                                                    回复
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 留言2 -->
                            <div class="comment-item">
                                <img src="https://picsum.photos/100/100?random=402" alt="用户头像" class="user-avatar">
                                <div class="comment-content">
                                    <div class="comment-header">
                                        <span class="comment-author">书虫小B</span>
                                        <span class="comment-time">2天前</span>
                                    </div>
                                    <div class="comment-text">
                                        第一次参加这种线下读书会，请问需要提前做什么准备吗？如果没有读过指定的两本书可以参加吗？
                                    </div>
                                    <div class="comment-footer">
                                        <div class="comment-action like-comment">
                                            <i class="far fa-heart"></i> 12
                                        </div>
                                        <div class="comment-action reply-btn">
                                            <i class="far fa-comment"></i> 回复
                                        </div>
                                    </div>
                                    
                                    <!-- 回复输入框 (默认隐藏) -->
                                    <div class="reply-form" style="display: none;">
                                        <img src="https://picsum.photos/100/100?random=301" alt="当前用户头像" class="user-avatar" style="width: 32px; height: 32px;">
                                        <div class="reply-textarea">
                                            <textarea placeholder="回复 @书虫小B..."></textarea>
                                            <div class="comment-actions">
                                                <button class="btn btn-sm btn-outline-secondary me-2 cancel-reply">
                                                    取消
                                                </button>
                                                <button class="btn btn-sm btn-primary">
                                                    回复
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 留言3 -->
                            <div class="comment-item">
                                <img src="https://picsum.photos/100/100?random=403" alt="用户头像" class="user-avatar">
                                <div class="comment-content">
                                    <div class="comment-header">
                                        <span class="comment-author">读者小C</span>
                                        <span class="comment-time">1天前</span>
                                    </div>
                                    <div class="comment-text">
                                        请问活动结束后会有整理好的讨论记录分享吗？因为我可能需要提前离开一会儿。
                                    </div>
                                    <div class="comment-footer">
                                        <div class="comment-action like-comment">
                                            <i class="far fa-heart"></i> 5
                                        </div>
                                        <div class="comment-action reply-btn">
                                            <i class="far fa-comment"></i> 回复
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 加载更多 -->
                        <div class="text-center">
                            <button class="btn btn-outline-secondary">
                                加载更多留言
                            </button>
                        </div>
                    </div>
                    
                    <!-- 活动照片 -->
                    <div class="tab-pane fade" id="photos" role="tabpanel" aria-labelledby="photos-tab">
                        <div class="row">
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=501" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=502" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=503" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=504" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=505" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                            <div class="col-4 mb-2">
                                <img src="https://picsum.photos/300/300?random=506" alt="活动照片" class="w-100 h-100 object-cover rounded">
                            </div>
                        </div>
                        <div class="text-center mt-3">
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-upload me-1"></i> 上传活动照片
                            </button>
                        </div>
                    </div>
                    
                    <!-- 相关活动 -->
                    <div class="tab-pane fade" id="related" role="tabpanel" aria-labelledby="related-tab">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="card similar-event-card">
                                    <div class="d-flex">
                                        <div class="flex-shrink-0" style="width: 120px; height: 100px;">
                                            <img src="https://picsum.photos/300/200?random=601" alt="诗歌分享会" class="w-100 h-100 object-cover">
                                        </div>
                                        <div class="p-3">
                                            <h6 class="card-title">现代诗歌分享会</h6>
                                            <p class="text-sm text-muted mb-1">6月17日 周六 14:00</p>
                                            <p class="text-sm text-muted">城市咖啡馆</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="card similar-event-card">
                                    <div class="d-flex">
                                        <div class="flex-shrink-0" style="width: 120px; height: 100px;">
                                            <img src="https://picsum.photos/300/200?random=602" alt="作家见面会" class="w-100 h-100 object-cover">
                                        </div>
                                        <div class="p-3">
                                            <h6 class="card-title">当代作家见面会</h6>
                                            <p class="text-sm text-muted mb-1">6月25日 周日 15:00</p>
                                            <p class="text-sm text-muted">市图书馆报告厅</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="card similar-event-card">
                                    <div class="d-flex">
                                        <div class="flex-shrink-0" style="width: 120px; height: 100px; background-color: var(--light-gray); display: flex; align-items: center; justify-content: center;">
                                            <i class="fas fa-pen-fancy text-2xl text-muted"></i>
                                        </div>
                                        <div class="p-3">
                                            <h6 class="card-title">创意写作工作坊</h6>
                                            <p class="text-sm text-muted mb-1">7月1日 周六 10:00</p>
                                            <p class="text-sm text-muted">文化创意园</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="card similar-event-card">
                                    <div class="d-flex">
                                        <div class="flex-shrink-0" style="width: 120px; height: 100px;">
                                            <img src="https://picsum.photos/300/200?random=603" alt="经典名著重读" class="w-100 h-100 object-cover">
                                        </div>
                                        <div class="p-3">
                                            <h6 class="card-title">经典名著重读计划</h6>
                                            <p class="text-sm text-muted mb-1">每周二 19:00</p>
                                            <p class="text-sm text-muted">线上Zoom会议</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 侧边栏 -->
            <div class="col-lg-4">
                <!-- 活动信息卡片 -->
                <div class="event-details sticky-top" style="top: 20px;">
                    <h3 class="detail-title">
                        <i class="fas fa-calendar-check text-primary"></i> 活动信息
                    </h3>
                    <div class="detail-content">
                        <div class="mb-3 p-3 bg-light-gray rounded">
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">日期时间</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-calendar-alt text-primary"></i>
                                <span>2023年6月10日 周六</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-clock text-primary"></i>
                                <span>15:00 - 17:30</span>
                            </div>
                        </div>
                        
                        <div class="mb-3 p-3 bg-light-gray rounded">
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">地点</span>
                            </div>
                            <div class="d-flex align-items-start gap-2">
                                <i class="fas fa-map-marker-alt text-primary mt-1"></i>
                                <span>城市图书馆三楼会议室<br>文化大道123号</span>
                            </div>
                        </div>
                        
                        <div class="mb-3 p-3 bg-light-gray rounded">
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">参与方式</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-ticket-alt text-primary"></i>
                                <span>免费参与</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-user-check text-primary"></i>
                                <span>需提前报名</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-users text-primary"></i>
                                <span>限15人参与</span>
                            </div>
                        </div>
                        
                        <div class="p-3 bg-light-gray rounded">
                            <div class="d-flex justify-content-between mb-2">
                                <span class="text-muted">联系方式</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-envelope text-primary"></i>
                                <span>bookclub@example.com</span>
                            </div>
                            <div class="d-flex align-items-center gap-2">
                                <i class="fas fa-phone text-primary"></i>
                                <span>138-XXXX-XXXX</span>
                            </div>
                        </div>
                        
                        <button class="btn btn-primary w-100 mt-4">
                            <i class="fas fa-share-alt me-1"></i> 分享活动
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 相似活动推荐 -->
        <div class="similar-events">
            <h3 class="mb-3">你可能也感兴趣的活动</h3>
            <div class="row">
                <div class="col-md-3">
                    <div class="card similar-event-card h-100">
                        <img src="https://picsum.photos/400/300?random=701" alt="诗歌朗诵会" class="card-img-top">
                        <div class="card-body">
                            <h6 class="card-title">诗歌朗诵会</h6>
                            <p class="text-sm text-muted mb-2">6月15日 周四 19:30</p>
                            <p class="text-sm text-muted">艺术中心小剧场</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card similar-event-card h-100">
                        <img src="https://picsum.photos/400/300?random=702" alt="哲学讨论会" class="card-img-top">
                        <div class="card-body">
                            <h6 class="card-title">哲学经典讨论会</h6>
                            <p class="text-sm text-muted mb-2">6月18日 周日 14:00</p>
                            <p class="text-sm text-muted">大学咖啡馆</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card similar-event-card h-100">
                        <div class="bg-light-gray p-4 d-flex align-items-center justify-content-center" style="height: 150px;">
                            <i class="fas fa-newspaper text-4xl text-muted"></i>
                        </div>
                        <div class="card-body">
                            <h6 class="card-title">新闻与媒体读书会</h6>
                            <p class="text-sm text-muted mb-2">6月22日 周四 16:00</p>
                            <p class="text-sm text-muted">媒体中心</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card similar-event-card h-100">
                        <img src="https://picsum.photos/400/300?random=703" alt="儿童文学工作坊" class="card-img-top">
                        <div class="card-body">
                            <h6 class="card-title">儿童文学工作坊</h6>
                            <p class="text-sm text-muted mb-2">6月24日 周六 10:00</p>
                            <p class="text-sm text-muted">市少年宫</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 点赞功能
        document.querySelectorAll('.like-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                this.classList.toggle('liked');
                const icon = this.querySelector('i');
                const countText = this.childNodes[2].textContent.trim();
                const count = parseInt(countText.match(/\d+/)[0]);
                
                if (this.classList.contains('liked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.childNodes[2].textContent = ` (${count + 1})`;
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.childNodes[2].textContent = ` (${count - 1})`;
                }
            });
        });
        
        // 收藏功能
        document.querySelectorAll('.save-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                this.classList.toggle('saved');
                const icon = this.querySelector('i');
                
                if (this.classList.contains('saved')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                }
            });
        });
        
        // 评论点赞功能
        document.querySelectorAll('.like-comment').forEach(btn => {
            btn.addEventListener('click', function() {
                this.classList.toggle('liked');
                const icon = this.querySelector('i');
                const countText = this.textContent.trim();
                const count = parseInt(countText.match(/\d+/)[0]);
                
                if (this.classList.contains('liked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.innerHTML = `<i class="fas fa-heart"></i> ${count + 1}`;
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.innerHTML = `<i class="far fa-heart"></i> ${count - 1}`;
                }
            });
        });
        
        // 回复功能
        document.querySelectorAll('.reply-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                // 隐藏其他所有回复框
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.style.display = 'none';
                });
                
                // 显示当前评论的回复框
                const commentItem = this.closest('.comment-item, .reply-item');
                const replyForm = commentItem.querySelector('.reply-form');
                replyForm.style.display = 'flex';
            });
        });
        
        // 取消回复
        document.querySelectorAll('.cancel-reply').forEach(btn => {
            btn.addEventListener('click', function() {
                const replyForm = this.closest('.reply-form');
                replyForm.style.display = 'none';
            });
        });
    </script>
</body>
</html>
    
